<include file="./Tm/Dt/Top.html" />
		<div class="main">
			<include file="./Tm/Dt/Nav.html" />
			<div class="area">
				<div class="pad-20">
					<div class="panel panel-default linear">
					  	<div class="panel-heading title">转账记录</div>
					  	<div class="panel-body">
				    		<div class="row-fluid">
				    			<div class="span12">
				    				<div class="tabbable" id="tabs-402357">
										<ul class="nav nav-tabs">
										    <li class="active">
												<a href="#panel-401018" data-toggle="tab">转账记录</a>
											</li>
											<li >
												<a href="#panel-862181" data-toggle="tab">积分互转</a>
											</li>
											
										</ul>
										<div class="tab-content">
											<div class="tab-pane " id="panel-862181">
												<div class="h-30"></div>
												<form class="form-horizontal" action="/user/zh_form" method="post">
												  <div class="form-group">
												    <label for="inputEmail3" class="col-sm-2 control-label">转出钱包</label>
												    <div class="col-sm-3 pad-top-4">
												      <select name="zhc" id="zhc" onchange="gradeChange()">
												      	<option value="1">直接提现钱包</option>
												      	<option value="2">季度分红钱包</option>
												      </select>
												      <input type="hidden" value="{$user.cashmoney}" id="cash">
				                                      <input type="hidden" value="{$user.halfmoney}" id="half">
				                                      <input type="hidden" value="{$user.yearmoney}" id="year">
				                                      <input type="hidden" value="{$user.zhitui}" id="for">
												    </div>
												  </div>
												  <div class="form-group">
												    <label for="inputPassword3" class="col-sm-2 control-label">转出钱包余额</label>
												    <div class="col-sm-3 pad-top-8">
												      <p class="yue">{$user.cashmoney}</p>
												    </div>
												  </div>
												  <div class="form-group">
												    <label for="inputEmail3" class="col-sm-2 control-label">转入钱包</label>
												    <div class="col-sm-3 pad-top-4">
												      <select name="zhr" id="zhr" onchange="gradeChange2()">
												      	<option value="3">半年分红钱包</option>
												      	<!-- <option value="4">直推奖金钱包</option> -->
												      </select>
												    </div>
												  </div>
												  <div class="form-group">
												    <label for="inputPassword3" class="col-sm-2 control-label">转入钱包余额</label>
												    <div class="col-sm-3 pad-top-8">
												      <p class="ban">{$user.yearmoney}</p>
												    </div>
												  </div>
												  <div class="form-group">
												    <label for="inputPassword3" class="col-sm-2 control-label">转换比例</label>
												    <div class="col-sm-3 pad-top-8">
												      <p>1.0:1.0</p>
												    </div>
												  </div>
												  <div class="form-group pp">
												    <label for="inputPassword3" class="col-sm-2 control-label">转换金额<span>*</span></label>
												    <div class="col-sm-3">
												      <input type="text" class="form-control" id="inputPassword3" name="price">
												    </div>
												  </div>
												  <div class="form-group pp">
												    <label for="inputPassword3" class="col-sm-2 control-label">二级密码<span>*</span></label>
												    <div class="col-sm-3">
												      <input type="password" class="form-control" id="inputPassword3" name="mm2">
												    </div>
												  </div>
												  <div class="form-group">
												    <div class="col-sm-offset-2 col-sm-3">
												      <button type="submit" class="btn btn-primary">提交</button>
												    </div>
												  </div>
												</form>
											</div>
											<div class="tab-pane active" id="panel-401018">
												<div class="h-30"></div>
												<div class="table-responsive">
												  <table class="table">
												    <tr>
											    		<th>转出钱包</th>
											    		<th>转入钱包</th>
											    		<th>转换比例</th>
											    		<th>转换金额</th>
											    		<th>日期</th>
												    </tr>
												    <foreach name='list' item='v'>
												    <tr>
												    	<td>{$v.zhc}</td>
												    	<td>{$v.zhr}</td>
												    	<td>{$v.zhbl}</td>
												    	<td>{$v.price}</td>
												    	<td>{$v.zhtime|date="Y/m/d H:i:s",###}</td>
												    </tr>
												    </foreach>
												  </table>
												</div>
												<div class="f-right">
												  <ul class="pagination">
												    {$page}
												  </ul>
												</div>
											</div>
										</div>
									</div>
				    			</div>
			    			</div>
					  	</div>
					</div>
				</div>
			</div>
		</div>
<include file="./Tm/Dt/Foot.html" />


<script type="text/JavaScript">
       function gradeChange(){
       	var str=$('#zhc').val();
       	if(str==1){
       		var yue=$('#cash').val();
       		// alert(yue);
       		$('.yue').text(yue);
       		
       	}else if(str==2){
       		var yue=$('#half').val();
       		// alert(yue);
       		$('.yue').text(yue);
       		
       	}
        
        
       }
       function gradeChange2(){
       	var str=$('#zhr').val();
       	if(str==3){
       		var ban=$('#year').val();
       		// alert(ban);
       		$('.ban').text(ban);
       		
       	}else if(str==4){
       		var ban=$('#for').val();
       		// alert(ban);
       		$('.ban').text(ban);
       		
       	}
        
        
       }
</script>
